<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>CreyPhone</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <?php echo $this->headScript(); ?>
    <?php echo $this->headLink(); ?>
    <!-- Le styles -->
    <link href="<?php echo $this->baseUrl(); ?>/assets/css/bootstrap.css" rel="stylesheet">
    <style>
      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
      }
    </style>
    <link href="<?php echo $this->baseUrl(); ?>/assets/css/bootstrap-responsive.css" rel="stylesheet">

    
    <link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->baseUrl(); ?>/assets/css/datepicker.css" />
    <script type="text/javascript" src="<?php echo $this->baseUrl(); ?>/assets/js/jquery.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-datepicker.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl(); ?>/tiny_mce/tiny_mce.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/js/multiple-file-upload/jquery.MultiFile.js" type="text/javascript" language="javascript"></script>
    <script type="text/javascript">
//    (function($) {
//        $(document).ready(function(){
//            $('#fecha').datepicker();
//            $('#fileUpload').MultiFile({
//                list: '#list-files',
//                max: 5,
//                accept: 'png|jpg'
//            });
//        });
//    })(jQuery);
//
//    function myCustomFileBrowser(field_name, url, type, win) {
//        // Do custom browser logic
//        win.document.forms[0].elements[field_name].value = 'my browser value';
//    }
//    tinyMCE.init({
//        // General options
//        mode : "textareas",
//        theme : "advanced",
//        plugins : "autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
//        // Theme options
//        theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
//        theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
//        theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
//        theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage",
//        theme_advanced_toolbar_location : "top",
//        theme_advanced_toolbar_align : "left",
//        theme_advanced_statusbar_location : "bottom",
//        theme_advanced_resizing : true,
//        // Skin options
//        skin : "o2k7",
//        skin_variant : "silver",
//        // Example content CSS (should be your site CSS)
//        content_css : "css/example.css",
//        // Drop lists for link/image/media/template dialogs
//        template_external_list_url : "js/template_list.js",
//        external_link_list_url : "js/link_list.js",
//        external_image_list_url : "js/image_list.js",
//        media_external_list_url : "js/media_list.js",
//        // Replace values for the template plugin
//        template_replace_values : {
//            username : "Some User",
//            staffid : "991234"
//        }
//    });
   </script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="<?php echo $this->baseUrl(); ?>/assets/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo $this->baseUrl(); ?>/assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo $this->baseUrl(); ?>/assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo $this->baseUrl(); ?>/assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="<?php echo $this->baseUrl(); ?>/assets/ico/apple-touch-icon-57-precomposed.png">
</head>

  <body  >
      <div class="navbar navbar-fixed-top">
          <div class="navbar-inner">
              <div class="container-fluid">
                  <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                      <span class="icon-bar"></span>
                      <span class="icon-bar"></span>
                      <span class="icon-bar"></span>
                  </a>
                  <a class="brand" href="#">CreyPhone</a>
                  <!-- user -->
                  <div class="btn-group pull-right">
                      <?php if (!empty($this->usuario)) : ?>
                      <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                          <i class="icon-user"></i> <?php echo $this->usuario ?>
                          <span class="caret"></span>
                      </a>
                      <ul class="dropdown-menu">
                          <li><a href="#">Perfil</a></li>
                          <li class="divider"></li>
                          <li><a href="<?php echo $this->baseUrl(); ?>/demo/logout/">Salir</a></li>
                      </ul>
                      <?php else : ?>
                      <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                          <?php echo "Iniciar Session" ?>
                          <span class="caret"></span>
                      </a>
                      <?php endif; ?>
                  </div>
                  <!-- end user -->
                  <!-- option menu -->
                  <?php if (!empty($this->usuario)) : ?>
                  <div class="nav-collapse">
                      <ul class="nav">
                          <li><a href="<?php echo $this->baseUrl(); ?>/demo/escritorio/">Inicio</a></li>
                          <li><a href="<?php echo $this->baseUrl(); ?>/demo/registrarprestamo/">Prestamos</a></li>
                          <li><a href="<?php echo $this->baseUrl(); ?>/demo/buscarcliente/">Clientes</a></li>
                          <li><a href="#Administracion">Administración</a></li>
                      </ul>
                  </div>
                   <?php endif; ?>
                  <!-- end option menu -->
              </div>
          </div>
          
      </div>

    <div class="container-fluid">
        <div class="row">
    <div class="span2"  ></div>
  <div class="span10"   >
      <ul class="thumbnails">
        <li class="span2">
          <a href="<?php echo $this->baseUrl() ?>/default/demo/registrarcliente" class="thumbnail">
            <img src="<?php echo $this->baseUrl() ?>/imagenes/addUser2.png" alt="">
          </a>
        </li>
        <li class="span2">
          <a href="<?php echo $this->baseUrl() ?>/default/demo/buscarcliente/opcion/1" class="thumbnail">
            <img src="<?php echo $this->baseUrl() ?>/imagenes/dollars.png" alt="">
          </a>
        </li>
          <li class="span2">
          <a href="<?php echo $this->baseUrl() ?>/default/demo/buscarcliente/opcion/2" class="thumbnail">
            <img src="<?php echo $this->baseUrl() ?>/imagenes/payment.png" alt="">
          </a>
        </li>
        <li class="span2">
          <a href="#" class="thumbnail">
            <img src="<?php echo $this->baseUrl() ?>/imagenes/gnome-searchtool.png" alt="">
          </a>
        </li>
        <li class="span2">
          <a href="#" class="thumbnail">
            <img src="<?php echo $this->baseUrl() ?>/imagenes/pie_chart.png" alt="">
          </a>
        </li>
         
      </ul>
  </div>
</div>
 
         <?php echo $this->layout()->content ?>
 
</div><!--/.fluid-container-->

<hr>
<footer>
    <p>&copy; CreyPhone 2012</p>
</footer>

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/jquery.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-transition.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-alert.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-modal.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-dropdown.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-scrollspy.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-tab.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-tooltip.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-popover.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-button.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-collapse.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-carousel.js"></script>
    <script src="<?php echo $this->baseUrl(); ?>/assets/js/bootstrap-typeahead.js"></script>

  </body>
</html>


 

     

 